﻿using AutoMapper;
using MES.Process.API.Application.Command.工序分类命令;
using MES.Process.API.Application.Command.工序命令;
using MES.Process.API.Application.Command.工艺命令;

namespace MES.Process.API
{
    public class MESAutomapperFiles:Profile
    {
        public MESAutomapperFiles() 
        {
            CreateMap<ProcessTypeAddCommand, Domain.ProcessType>();
            CreateMap< ProcessTypeEditCommand, Domain.ProcessType>();
            CreateMap<ProcessAddCommand, Domain.Processes>();
            CreateMap<ProcessEditCommand, Domain.Processes>();
            CreateMap<CraftsAddCommand, Domain.Crafts>();
            CreateMap<CraftsEditCommand, Domain.Crafts>();
        }
    }
}
